In your project, add references to the following:
Microsoft.Owin
Microsoft.Owin.Host.SystemWeb
Microsoft.Owin.Security
Microsoft.Owin.Security.Cookies
Microsoft.Owin.Security.WsFederation
Nancy.Owin
Web.Config
Web Configuration File For Nancy
Startup.cs
Using Nancy: Example Owin StartupBootstrapper.cs
Using Nancy: BootstrapperNancyExtensions.cs
Using Nancy: ExtensionsAuthModule.cs
Using Nancy: Example AuthModuleAuthorization.cs
Using Nancy: Example Authorization ModelJavaScript
Using Nancy: Clientside Example